package com.xindong.paking.dtos;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import static com.xindong.paking.entity.constant.Constants.DEFAULT_PAGESIZE;
import static com.xindong.paking.entity.constant.Constants.DEFAULT_PAGE_COUNT;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ParkingLotDTO {

    //停车场id
    private Integer id;
    //停车场名称
    private String name;
    //停车场描述
    private String des;
    //单价
    private Float unitPrice;
    //停车位总数
    private Integer parkTotal;
    //空闲车位数量
    private Integer parkReQuatity;
    //充电桩总数量
    private Integer chargTotal;
    //充电桩可用数量
    private Integer chargReQuatity;
    //状态码
    private String status;

    //页码,默认为第一页
    private Integer pageCount = DEFAULT_PAGE_COUNT;

    //每页条数,默认每页10条
    private Integer pageSize = DEFAULT_PAGESIZE;
}
